package com.lungle.warmdiary.app.view.testcampaign.fragment.rate;

import com.lungle.warmdiary.app.model.Entity;
import com.lungle.warmdiary.app.model.response.AppSummary;
import com.lungle.warmdiary.app.model.response.CampaignComment;
import com.lungle.warmdiary.app.model.response.CampaignMycomment;

/**
 * Created by zhangxueyuan on 16/10/11.
 */
public class CampaignListItem1 extends Entity {
    //1 是应用，2 是我的
    private int TYPE = 0;
    private AppSummary summary;
    private CampaignComment campaignComment;
    private CampaignMycomment campaignMycomment;


    public CampaignListItem1(AppSummary summary) {
        this.summary = summary;
        TYPE = 1;
    }

    public CampaignListItem1(CampaignComment summary) {
        this.campaignComment = summary;
        TYPE = 0;
    }


    public CampaignListItem1(CampaignMycomment summary) {
        this.campaignMycomment = summary;
        TYPE = 2;
    }

    public AppSummary getSummary() {
        return summary;
    }

    public CampaignComment getCampaignComment() {
        return campaignComment;
    }

    public CampaignMycomment getCampaignMycomment() {
        return campaignMycomment;
    }

    public int getTYPE() {
        return TYPE;
    }
}
